const axios = require('../https.js');

module.exports = {
    userInfo: (loginToken) => {
        return axios.get('/borrow/financier/info',{ params: { token: loginToken } })
    },
    accountDetail: (loginToken) => {
        return axios.get('/borrow/financier/account/info',{ params: { token: loginToken } })
    },
    detailList: (loginToken,id) => {
        return axios.get('/borrow/borrow/info',{ params: { token: loginToken, borrowId: id } });
    }
}